package cc.woori.mobile.bean;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable
public class PodCastEntity {
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Key key;

    @Persistent
    private String title = "";
    @Persistent
    private String subtitle = "";

    @Persistent
    private String author = "";
    @Persistent
    private String summary = "";
    @Persistent
    private String description = "";
    @Persistent
    private String owner = "";
    @Persistent
    private String owner_email = "";
    @Persistent
    private String img_url = "";
    @Persistent
    private String link = "";

    public PodCastEntity(String title, String subtitle, String link,
	    String author, String summary, String description, String owner,
	    String owner_url, String img_url) {
	this.title = title;
	this.subtitle = subtitle;
	this.author = author;
	this.summary = summary;
	this.description = description;
	this.owner = owner;
	this.owner_email = owner_url;
	this.img_url = img_url;
	this.link = link;
    }

    public String getLink() {
	return link;
    }

    public void setLink(String link) {
	this.link = link;
    }

    public Key getKey() {
	return key;
    }

    public void setKey(Key key) {
	this.key = key;
    }

    public String getTitle() {
	return title;
    }

    public void setTitle(String title) {
	this.title = title;
    }

    public String getSubtitle() {
	return subtitle;
    }

    public void setSubtitle(String subtitle) {
	this.subtitle = subtitle;
    }

    public String getAuthor() {
	return author;
    }

    public void setAuthor(String author) {
	this.author = author;
    }

    public String getSummary() {
	return summary;
    }

    public void setSummary(String summary) {
	this.summary = summary;
    }

    public String getDescription() {
	return description;
    }

    public void setDescription(String description) {
	this.description = description;
    }

    public String getOwner() {
	return owner;
    }

    public void setOwner(String owner) {
	this.owner = owner;
    }

    public String getOwner_email() {
	return owner_email;
    }

    public void setOwner_email(String owner_url) {
	this.owner_email = owner_url;
    }

    public String getImg_url() {
	return img_url;
    }

    public void setImg_url(String img_url) {
	this.img_url = img_url;
    }

}